package top.llove.pojo.dto;

import lombok.Data;
import org.springframework.stereotype.Component;
import top.llove.pojo.Admin;
import top.llove.pojo.Article;
import top.llove.pojo.Kind;

import java.util.List;

/**
 * 管理员, 文章
 *
 * @author: 幸会
 * @date: 2021/6/17 16:02
 * @email: 1846724873@qq.com
 * @description: 文章，管理员
 * version: 1.0
 */
@Data
@Component
public class ArticleAdminDto extends Article {
    private Kind kind;
    private Admin admin;

    @Override
    public String toString() {
        return super.toString() + admin + kind;
    }
}
